package com.test.aninterface;

import android.content.Context;

public class ApplicationUtils {
    private volatile static ApplicationUtils instance = null;
    private Context context;
    public static ApplicationUtils getInstance(){
        if(null == instance){
            synchronized (ApplicationUtils.class){
                if(null == instance){
                    instance = new ApplicationUtils();
                }
            }
        }
        return instance;
    }
    public void setContext(Context context){
        this.context = context;
    }
    public Context getContext(){
        return context;
    }

}
